package com.star.news.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author lintianyi
 * @version 1.0
 * @date 2024/6/21 15:46
 */
@Getter
@Setter
@Accessors(chain = true)
public class NewsContent {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 新闻id
     */
    private Long newsId;
    /**
     * 内容
     */
    private String content;

    /**
     * "逻辑删除（1已删除 0未删除）")
     */
    @TableField(fill = FieldFill.INSERT)
    @TableLogic
    private Integer deleted;

}
